package cst.cn.edu.neusoft.xumingze224.yuejian_5.Service;

import java.util.List;



import cst.cn.edu.neusoft.xumingze224.yuejian_5.Bean.LoginBean;
import cst.cn.edu.neusoft.xumingze224.yuejian_5.Bean.RegisterBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;


public interface TService {
    @GET("userLogin.do")
    Call<LoginBean> login(@Query("username") String username,
                          @Query("userpass") String userpass);
    @GET("userRegister.do")
    Call<RegisterBean> register(@Query("username") String username,
                                @Query("userpass") String userpass,
                                @Query("mobilenum") String mobilenum)
;




                                @GET("userCollectShop.do")
    Call<RegisterBean> collectshop(@Query("user_id") String user_id,
                                @Query("shop_id") String shop_id);



    @GET("updateUserById.do")
    Call<RegisterBean> update(@Query("user_id") String user_id,
                              @Query("username") String username,
                              @Query("userpass") String userpass,
                              @Query("mobilenum") String mobilenum,
                              @Query("address") String address);







}
